﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImageK
{
    /** Plugins that implement this interface are notified when the user
         changes the foreground color, changes the background color,
         closes the color picker, closes the Log window or switches to
         another tool.
    */
    public interface IJEventListener
    {
        public const int FOREGROUND_COLOR_CHANGED = 0;
        public const int BACKGROUND_COLOR_CHANGED = 1;
        public const int COLOR_PICKER_CLOSED = 2;
        public const int LOG_WINDOW_CLOSED = 3;
        public const int TOOL_CHANGED = 4;

        public void eventOccurred(int eventID);
    }
}
